package com.bianmaba.activiti.listeners;

import org.activiti.engine.delegate.event.ActivitiEvent;
import org.activiti.engine.delegate.event.ActivitiEventListener;
import org.springframework.stereotype.Component;

/**
 * @program: example-spring-boot-extend
 * @description:
 * @author: Chenjiabin
 * @create: 2019/9/6 17:55
 **/

@Component
public class EventListener implements ActivitiEventListener {
    @Override
    public void onEvent(ActivitiEvent activitiEvent) {
        System.out.println(activitiEvent);
    }

    @Override
    public boolean isFailOnException() {
        return false;
    }
}
